home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / testdir / test32.in < prev    next >
Encoding:
Text File  |  2001-09-09  |  1.1 KB  |  54 lines

  1. Test for insert expansion
  2.  
  3. :se cpt=.,w
  4. * add-expands (word from next line) from other window
  5. * add-expands (current buffer first)
  6. * Local expansion, ends in an empty line (unless it becomes a global expansion)
  7. * starts Local and switches to global add-expansion
  8. :se cpt=.,w,i
  9. * i-add-expands and switches to local
  10. * add-expands lines (it would end in an empty line if it didn't ignored it self)
  11. :se cpt=kXtestfile
  12. * checks k-expansion, and file expansion
  13. :se cpt=w
  14. * checks make_cyclic in other window
  15. :se cpt=u nohid
  16. * checks unloaded buffer expansion
  17. * checks adding mode abortion
  18. :se cpt=t,d
  19. * tag expansion, define add-expansion interrupted
  20. * t-expansion
  21.  
  22. STARTTEST
  23. :so small.vim
  24. :se nocp viminfo+=nviminfo cpt=.,w|$-2,$w!Xtestfile
  25. nO#include "Xtestfile"
  26. ru
  27. O
  28. 
  29. 
  30. :se cpt=.,w,i
  31. kOM
  32.   
  33. :se cpt=kXtestfile
  34. O
  35. :se cpt=w
  36. OST
  37. :se cpt=u nohid
  38. oOEN
  39. unl
  40. :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
  41. O
  42. a
  43. :wq! test.out
  44. ENDTEST
  45.  
  46. start of testfile
  47. run1
  48. run2
  49. end of testfile
  50.  
  51. test11    36Gepeto    /Tag/
  52. asd    test11file    36G
  53. Makefile    to    run
  54.